//
//  BZMineRegularItemTableViewCell.m
//  penzer
//
//  Created by caiyc on 2018/11/15.
//  Copyright © 2018年 caiyc. All rights reserved.
//

#import "BZMineRegularItemTableViewCell.h"
#import "BZMineRegualTableModel.h"

@interface BZMineRegularItemTableViewCell()

@end


@implementation BZMineRegularItemTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}


-(void)setModel:(BZMineRegualTableModel *)model{
    if(model.canClick==0){
        self.image_W.constant = 0;
    }
    if([model.imageStr isEqualToString:@""]){
        self.MainImg_W.constant = 0;
    }
    self.image.image = [UIImage imageNamed:model.imageStr];
    self.title.text = model.title;
    self.title.textColor = model.titleColor;
    self.Sub_Title.textColor = model.subtitleColor;
    self.Sub_Title.text = model.sub_title;
}


@end
